package com.imooc.order.message;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.SubscribableChannel;

/**
 * @Name com.imooc.order.message.StreamClient
 * @Description
 * @Author Elwyn
 * @Version 2020/3/19
 * @Copyright 上海云辰信息科技有限公司
 **/
public interface StreamClient {
	@Input("myMessage")
	SubscribableChannel input();

	@Output("myMessage")
	MessageChannel output();
}
